
<style type="text/css">
    * {
        box-sizing: border-box;
    }
    body{
        margin: 0;
    }

    .mar-20 {
        display: inline-block;
        margin-right: 20px;
    }

    .modal-body {
        height: 504px;
        overflow-y: scroll;
    }

    .modal-body::-webkit-scrollbar {
        display: none
    }

    .printMain {
        position: absolute;
        top: 35mm;
        left: 0;
    }

    .fl {
        float: left;
    }

    .fr {
        float: right;
    }

    .clear {
        clear: both;
    }

    td {
        height: 18px;
        border: none;
        font-size: 12px;
    }
</style>
<div align="center"><input type="button" value="导出PDF" style="background: #3683D3;color: #fff; margin: 10px; padding: 10px; border: none;" onclick="exportPdf(this);"></div>
<div style='background: url("{$site.pd_bj}");margin: 0 auto;width: 827px;height: 551px;'>
    <table border="" cellspacing="0" cellpadding="0" style="width: 100%;border: none;padding-top: 110px;padding-left: 100px;padding-right: 100px;">
        <tr>

            <td colspan="21">
                <span style="padding-left: 30px;width: 330px;display: inline-block;">&nbsp;</span>
                <span style="padding-left: 70px;line-height: 16px;">{$piwen.pigai_nump}</span>
            </td>
        </tr>
        <tr>
            <td colspan="21">
                <span style="padding-left: 30px;width: 330px;display: inline-block;">{$piwen.learned_name}</span>
                <span style="padding-left: 70px;">{$piwen.tong_number}</span>
            </td>

        </tr>
        <tr>
            <td colspan="21" style="vertical-align:top">
                <div style="height: 220px;width: 560px;padding-top: 5px;">
                    {$piwen['pigai_piwen']}
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="21" style="height: 30px;">
                <span style="padding-left: 445px;display: inline-block;width: 50px;padding-top: 35px;">&nbsp;</span>
                <span style="display: inline-block;width: 50px;">{$piwen.pigai_ctime|date="Y",###} </span>
                <span style="width: 40px;display: inline-block;">{$piwen.pigai_ctime|date="m",###}</span>
                <span style="width: 35px;display: inline-block;">{$piwen.pigai_ctime|date="d",###}</span>
            </td>
        </tr>
        <tr>
            <td colspan="21" style="height: 78px;vertical-align:top;">
                <span style="padding-left: 50px;"></span>

            </td>
        </tr>
        <tr>
            <td style="width: 26%;padding-left: 50px;">{$piwen.yw_hetongpeo}</td>
            <td style="width: 26%;padding-left: 55px;">{$admin.username}</td>
            <td style="width: 5%;padding-left: 40px;">{$piwen.yw_handle}</td>
        </tr>
    </table>
    <div style="position: relative;  bottom: 230px;right: -588px;">
        <img src="{$site.bjd_fwz}" width="16%">
    </div>
</div>
<!-- /.page-content -->
<script src="/assets/js/ace1.4/assets/js/jquery.min.js" type="text/javascript"></script>
<script src="/assets/js/ace1.4/assets/js/jquery.PrintArea.js" type="text/javascript"></script>
<script type="text/javascript">
    function exportPdf(btn) {
        $(btn).hide();
        window.print();
    }
</script>